package com.dorje.sys.entity;

import java.util.Date;
import java.util.List;


public class Menu {

	private Integer id;

	private Integer pid;

	private String name;

	private String pageUrl;

	private Integer type;

	private Integer state;

	private Date updateTime;

	private Date createTime;

	private String description;
	
	private Integer sortFiled;
	
	private List<Menu> children; 
	
	public List<Menu> getChildren() {
		return children;
	}

	public void setChildren(List<Menu> children) {
		this.children = children;
	}
	
	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getPageUrl() {
		return pageUrl;
	}

	public void setPageUrl(String pageUrl) {
		this.pageUrl = pageUrl;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getState() {
		return state;
	}

	public void setState(Integer state) {
		this.state = state;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Integer getSortFiled() {
		return sortFiled;
	}

	public void setSortFiled(Integer sortFiled) {
		this.sortFiled = sortFiled;
	}

	@Override
	public String toString() {
		return "Menu [id=" + id + ", pid=" + pid + ", name=" + name + ", pageUrl=" + pageUrl + ", type=" + type
				+ ", state=" + state + ", updateTime=" + updateTime + ", createTime=" + createTime + ", description="
				+ description + ", sortFiled=" + sortFiled + ", children=" + children + "]";
	}

	
	
	
	
	

}
